﻿/**
 * This JavaScript Library use to utility with Extjs 4.1.x MVC. This package may
 * useful for manipulation data and object. For example: Date convertion, String
 * formating, Regular Expression etc.
 *
 * @static
 * @class 		util
 * @package 	Fsl.util
 * @access 		public
 * @version		1.0.0
 * @since		May 20, 2013
 *
 **/
;Fsl.util||(function($) {
	var util = {
		$class		: 'Fsl',
		$package	: 'Fsl.util',		
		getInfo		: function(action){
			console.log($.route.getResource());			
		}
	};
	$.util = util;
}(Fsl));

Fsl.util.getInfo();
console.log(Fsl.proxy.getStoreAjaxApiProxy('create'));
console.log(Fsl.data.getBelongsTo('M01I001001', 'id', 'disctrictId', 'district'));
console.log(Fsl.data.getHasMany('M01I001001', 'id', 'disctrictId', 'district'));
console.log(Fsl.data.getHasOne('M01I001001', 'id', 'disctrictId', 'district'));
console.log(Fsl.route.getIcon('infor.png'));
console.log(Fsl.route.getImage('Shahed.png'));
console.log(Fsl.route.getAppFolder('Fsl4Admin'));